<?php 
switch($adc->getSetting('CatListMethod'))
{
	case 'accordion':
		require($adc->getViewPath().'filters/AdCatsAccordion.php');
		if($adc->getSetting('CatListBrands'))
		{ require($adc->getViewPath().'filters/AdBrandsAccordion.php'); }
	break;
	case 'table':
		require($adc->getViewPath().'filters/AdCatsTable.php'); 
		if($adc->getSetting('CatListBrands'))
		{ require($adc->getViewPath().'filters/AdBrandsAccordion.php'); }
	break;
	default:
		require($adc->getViewPath().'filters/AdCatsGrid.php'); 
		if($adc->getSetting('CatListBrands'))
		{ require($adc->getViewPath().'filters/AdBrandsGrid.php'); }
	break;
}
?>